package cn.wolfcode.crm.page;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

@Setter@Getter
public class PageResult {
    private int total;//总数
    private List<?> rows;//记录结果集

    //使用构造器
    public PageResult(int total, List<?> rows) {
        this.total = total;
        this.rows = rows;
    }
}
